/*=============================================================================

  APPLICATION MANAGER DEVICE DEFINITION

  FILE: SYSmgr_Config.h
  
  DESCRIPTION

    Application Manager Device Definition

  EXTERNALIZED FUNCTIONS

    
  Copyright (c) DaeSung Engineering Inc. All rights reserved.

=============================================================================*/
/*=============================================================================

                             EDIT HISTORY

  ---------  -------  -------------------------------------------------------
    when       who     what, where, why
  ---------  -------  -------------------------------------------------------
   06/28/03   nso4th   Version 0.1

=============================================================================*/

#ifndef _SYSMGR_CFG_H_
#define _SYSMGR_CFG_H_

/*=============================================================================
  FEATURE DEFINITION
=============================================================================*/

/*=============================================================================
  HEADER INCLUSION
=============================================================================*/
#include "SYSmgr_DEV.h"

/*=============================================================================
  CONSTANT DEFINITION
=============================================================================*/
#define SYSmgr_DEVICE_PATH			("C:\\LaserOptical\\system")

/*=============================================================================
  APPLICATION DEFINITION
=============================================================================*/
// Speed mode
typedef enum
{
	smMOT_SPEED_LOW,
	smMOT_SPEED_MID,
	smMOT_SPEED_HIGH,
	smMOT_SPEED_MAX
} SYSmgr_MotSpeedMode_e;
/*=============================================================================
  STRUCTURE DEFINITION
=============================================================================*/
#pragma pack(1)
typedef struct
{
	//---------------------------------
	// DEVICE.CONFIGURATION
	//---------------------------------
	char				io_cfg[128];
	char				aio_cfg[128];
	char				mot_cfg[128];
	char				fg_cfg[128];
	char				cam_cfg[128];
	//---------------------------------
	// APP.CONFIGURATION
	//---------------------------------
	area_cfg_s			area_cfg;

	// MOTION.CONTROL
	double64			mot_speed_tbl[MOT_AXIS_MAX][smMOT_SPEED_MAX];
	byte				mot_speed_mode;
	double64			mot_pos_tbl[HMOT_PTBL_MAX];
	double64			mot_vel_tbl[HMOT_VTBL_MAX];

	dword		dummy;
} SYSmgr_cfg_s;

#pragma pack()

#endif /* _SYSMGR_CFG_H_ */


/*=============================================================================
  EXTERNALIZED FUNCTION DESCRPTIONS
=============================================================================*/
/*--- END OF SYSmgr_Cfg.H ---*/
